package com.caiyouxi.common.control;

import com.caiyouxi.common.util.DateUtil;
import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



/**
 * Created by on 2017/10/18.
 */
@RestController
public class IndexController {

    private Logger logger = Logger.getLogger(IndexController.class);

    @RequestMapping("/ping")
    public String   ping() {
        return DateUtil.getCurrentTime();
    }


}
